﻿using MyCompany.MyProject.Model.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCompany.MyProject.IService
{
    public interface IJwtService
    {
        TokenResponse GenerateTokens(string userId, string username);
        bool ValidateRefreshToken(string refreshToken);
        string GetUserIdFromExpiredToken(string token);
    }
}
